<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><%@ taglib prefix="s" uri="/struts-tags"%>
<tr>
	<td colspan="6">
		<div>
			共 <strong class="text-info"> <s:property value="#orderLessonLogs.size" />
			</strong> 次,<strong class="text-info"> ${hours} </strong>课时
		</div> <s:iterator value="orderLessonLogs" var="orderLessonLog" status="status">
			<s:if test="#status.index % 5 == 0 && !#status.first">
				<s:if test="#status.index % 5 == 0">
					</div>
					</div>
				</s:if>
			</s:if>
			<s:if test="#status.index % 5 == 0">
				<div class="btn-toolbar">
					<div class="btn-group">
			</s:if>
			<s:url action="viewOrderLessonLog" namespace="/log" id="viewOrderLessonLog">
				<s:param name="id" value="id"></s:param>
			</s:url>
			<s:if test="lesson==null">
				<s:set name="cssClass" value='"btn-inverse"'></s:set>
			</s:if>
			<s:elseif test="signCourse == null">
				<s:set name="cssClass" value='"btn-warning"'></s:set>
			</s:elseif>
			<s:else>
				<s:set name="cssClass" value='"btn-success"'></s:set>
			</s:else>
			<a href="${viewOrderLessonLog}" class="btn dialog ${cssClass}" title="查看订课记录">
				<span class="block"> <s:date name="beginTime" format="yyyy/MM/dd" /> ${orderLessonLog.timespan}
				</span>
				<s:if test="lesson == null">
					<span class="singleLine" title="未记录具体课程">...</span>
				</s:if>
				<s:else>
					<span class="singleLine" title="${orderLessonLog.lesson.name}">${orderLessonLog.lesson.name}</span>
				</s:else>
			</a>
			<s:if test="#status.last">
				</div>
				</div>
			</s:if>
		</s:iterator>
	</td>
</tr>